What is the meaning of the word "yellow-dog contract"?

Definitions:

  1. a now illegal labor contract whereby the employee agrees not to join a trade union copy to clipboard noun
    • The factory owners forced the workers to sign yellowdog contracts. copy to clipboard